﻿#include "Solution.h"
#include "fmt/core.h"
using namespace std;

int main() {
	Solution s;
	string str = "abababcaa";
	string pattern = "ababc";
	int res = s.strStr(str,pattern);

	fmt::print("匹配下标：{}\n",res);
	return 0;
}